package com.mobile.zlb.model;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 浙里办用户信息对象VO
 *
 * @author mobile
 * @date 2022-05-06
 */
public class ZlbClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户在SSO分配的身份唯一号 */
    private String userId;

    /** 认证级别 1.匿名 2.实名 3.实人 （当认证级别为2或者3的时候实名信息才有效） */
    private String authlevel;

    /**  用户真实姓名 */
    @Excel(name = " 用户真实姓名")
    private String userName;

    /** 用户昵称 */
    @Excel(name = "登录用户名")
    private String loginname;

    /** 证件号码（身份证） */
    @Excel(name = "证件号码")
    private String idnum;

    /** 用户性别(1男 2女) */
    @Excel(name = "用户性别", readConverterExp = "1=男,2=女")
    private String sex;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postcode;

    /** CA证书KEY */
    @Excel(name = "CA证书KEY")
    private String cakey;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 国籍 */
    @Excel(name = "国籍")
    private String country;

    /** 省籍 */
    @Excel(name = "省籍")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 办公地址 */
    @Excel(name = "办公地址")
    private String officeaddress;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officephone;

    /** 办公传真 */
    @Excel(name = "办公传真")
    private String officefax;

    /** 家庭电话 */
    @Excel(name = "家庭电话")
    private String homephone;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String homeaddress;

    /** 头像路径 */
    @Excel(name = "头像路径")
    private String headpicture;

    /** 帐号状态:0正常,1禁用 */
    @Excel(name = "帐号状态:0正常,1禁用")
    private String status;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAuthlevel() {
        return authlevel;
    }

    public void setAuthlevel(String authlevel) {
        this.authlevel = authlevel;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getIdnum() {
        return idnum;
    }

    public void setIdnum(String idnum) {
        this.idnum = idnum;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getCakey() {
        return cakey;
    }

    public void setCakey(String cakey) {
        this.cakey = cakey;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getOfficeaddress() {
        return officeaddress;
    }

    public void setOfficeaddress(String officeaddress) {
        this.officeaddress = officeaddress;
    }

    public String getOfficephone() {
        return officephone;
    }

    public void setOfficephone(String officephone) {
        this.officephone = officephone;
    }

    public String getOfficefax() {
        return officefax;
    }

    public void setOfficefax(String officefax) {
        this.officefax = officefax;
    }

    public String getHomephone() {
        return homephone;
    }

    public void setHomephone(String homephone) {
        this.homephone = homephone;
    }

    public String getHomeaddress() {
        return homeaddress;
    }

    public void setHomeaddress(String homeaddress) {
        this.homeaddress = homeaddress;
    }

    public String getHeadpicture() {
        return headpicture;
    }

    public void setHeadpicture(String headpicture) {
        this.headpicture = headpicture;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("loginname", getLoginname())
            .append("idnum", getIdnum())
            .append("email", getEmail())
            .append("sex", getSex())
            .append("mobile", getMobile())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
